package com.example.myapplication.domain;

import com.google.gson.annotations.SerializedName;

import java.util.List;

public class ClassAndTagItem {

    @SerializedName("code")
    private Integer code;
    @SerializedName("data")
    private DataDTO data;
    @SerializedName("msg")
    private String msg;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public DataDTO getData() {
        return data;
    }

    public void setData(DataDTO data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public static class DataDTO {
        @SerializedName("class")
        private List<ClassDTO> classX;
        @SerializedName("tag")
        private List<TagDTO> tag;
        @SerializedName("total_content")
        private List<TotalContentDTO> totalContent;
        @SerializedName("logo")
        private String logo;

        public List<ClassDTO> getClassX() {
            return classX;
        }

        public void setClassX(List<ClassDTO> classX) {
            this.classX = classX;
        }

        public List<TagDTO> getTag() {
            return tag;
        }

        public void setTag(List<TagDTO> tag) {
            this.tag = tag;
        }

        public List<TotalContentDTO> getTotalContent() {
            return totalContent;
        }

        public void setTotalContent(List<TotalContentDTO> totalContent) {
            this.totalContent = totalContent;
        }

        public String getLogo() {
            return logo;
        }

        public void setLogo(String logo) {
            this.logo = logo;
        }

        public static class ClassDTO {
            @SerializedName("id")
            private Integer id;
            @SerializedName("name")
            private String name;
            @SerializedName("type")
            private String type;
            @SerializedName("send_type")
            private Integer sendType;
            @SerializedName("icon")
            private String icon;
            @SerializedName("batch_ids")
            private String batchIds;
            @SerializedName("child_admin")
            private String childAdmin;
            @SerializedName("admin_id")
            private Integer adminId;
            @SerializedName("create_time")
            private Integer createTime;
            @SerializedName("update_time")
            private Integer updateTime;
            @SerializedName("del")
            private Integer del;
            @SerializedName("ContentCollect")
            private List<ContentCollectDTO> contentCollect;
            @SerializedName("Content")
            private List<ContentDTO> content;

            public Integer getId() {
                return id;
            }

            public void setId(Integer id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public Integer getSendType() {
                return sendType;
            }

            public void setSendType(Integer sendType) {
                this.sendType = sendType;
            }

            public String getIcon() {
                return icon;
            }

            public void setIcon(String icon) {
                this.icon = icon;
            }

            public String getBatchIds() {
                return batchIds;
            }

            public void setBatchIds(String batchIds) {
                this.batchIds = batchIds;
            }

            public String getChildAdmin() {
                return childAdmin;
            }

            public void setChildAdmin(String childAdmin) {
                this.childAdmin = childAdmin;
            }

            public Integer getAdminId() {
                return adminId;
            }

            public void setAdminId(Integer adminId) {
                this.adminId = adminId;
            }

            public Integer getCreateTime() {
                return createTime;
            }

            public void setCreateTime(Integer createTime) {
                this.createTime = createTime;
            }

            public Integer getUpdateTime() {
                return updateTime;
            }

            public void setUpdateTime(Integer updateTime) {
                this.updateTime = updateTime;
            }

            public Integer getDel() {
                return del;
            }

            public void setDel(Integer del) {
                this.del = del;
            }

            public List<ContentCollectDTO> getContentCollect() {
                return contentCollect;
            }

            public void setContentCollect(List<ContentCollectDTO> contentCollect) {
                this.contentCollect = contentCollect;
            }

            public List<ContentDTO> getContent() {
                return content;
            }

            public void setContent(List<ContentDTO> content) {
                this.content = content;
            }

            public static class ContentCollectDTO {
                @SerializedName("id")
                private Integer id;
                @SerializedName("name")
                private String name;
                @SerializedName("type")
                private String type;
                @SerializedName("icon")
                private String icon;
                @SerializedName("admin_id")
                private Integer adminId;
                @SerializedName("class_id")
                private Integer classId;
                @SerializedName("create_time")
                private Integer createTime;
                @SerializedName("update_time")
                private Integer updateTime;
                @SerializedName("del")
                private Integer del;
                @SerializedName("Content")
                private List<ContentDTO> content;

                public Integer getId() {
                    return id;
                }

                public void setId(Integer id) {
                    this.id = id;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public String getType() {
                    return type;
                }

                public void setType(String type) {
                    this.type = type;
                }

                public String getIcon() {
                    return icon;
                }

                public void setIcon(String icon) {
                    this.icon = icon;
                }

                public Integer getAdminId() {
                    return adminId;
                }

                public void setAdminId(Integer adminId) {
                    this.adminId = adminId;
                }

                public Integer getClassId() {
                    return classId;
                }

                public void setClassId(Integer classId) {
                    this.classId = classId;
                }

                public Integer getCreateTime() {
                    return createTime;
                }

                public void setCreateTime(Integer createTime) {
                    this.createTime = createTime;
                }

                public Integer getUpdateTime() {
                    return updateTime;
                }

                public void setUpdateTime(Integer updateTime) {
                    this.updateTime = updateTime;
                }

                public Integer getDel() {
                    return del;
                }

                public void setDel(Integer del) {
                    this.del = del;
                }

                public List<ContentDTO> getContent() {
                    return content;
                }

                public void setContent(List<ContentDTO> content) {
                    this.content = content;
                }

                public static class ContentDTO {
                    @SerializedName("content_id")
                    private Integer contentId;
                    @SerializedName("content_name")
                    private String contentName;
                    @SerializedName("content_type")
                    private Integer contentType;
                    @SerializedName("content_size")
                    private Integer contentSize;
                    @SerializedName("content_explain")
                    private String contentExplain;
                    @SerializedName("content_url")
                    private String contentUrl;
                    @SerializedName("sort")
                    private Integer sort;
                    @SerializedName("send_type")
                    private Integer sendType;
                    @SerializedName("batch_ids")
                    private String batchIds;
                    @SerializedName("child_admin")
                    private String childAdmin;
                    @SerializedName("class_ids")
                    private String classIds;
                    @SerializedName("tag_ids")
                    private String tagIds;
                    @SerializedName("collect_ids")
                    private String collectIds;
                    @SerializedName("suitable_grade")
                    private String suitableGrade;
                    @SerializedName("platter_id")
                    private String platterId;
                    @SerializedName("admin_id")
                    private Integer adminId;
                    @SerializedName("upload_type")
                    private Integer uploadType;
                    @SerializedName("relation_id")
                    private Integer relationId;
                    @SerializedName("read_sn_num")
                    private Integer readSnNum;
                    @SerializedName("del")
                    private Integer del;
                    @SerializedName("create_time")
                    private Integer createTime;
                    @SerializedName("update_time")
                    private Integer updateTime;

                    public Integer getContentId() {
                        return contentId;
                    }

                    public void setContentId(Integer contentId) {
                        this.contentId = contentId;
                    }

                    public String getContentName() {
                        return contentName;
                    }

                    public void setContentName(String contentName) {
                        this.contentName = contentName;
                    }

                    public Integer getContentType() {
                        return contentType;
                    }

                    public void setContentType(Integer contentType) {
                        this.contentType = contentType;
                    }

                    public Integer getContentSize() {
                        return contentSize;
                    }

                    public void setContentSize(Integer contentSize) {
                        this.contentSize = contentSize;
                    }

                    public String getContentExplain() {
                        return contentExplain;
                    }

                    public void setContentExplain(String contentExplain) {
                        this.contentExplain = contentExplain;
                    }

                    public String getContentUrl() {
                        return contentUrl;
                    }

                    public void setContentUrl(String contentUrl) {
                        this.contentUrl = contentUrl;
                    }

                    public Integer getSort() {
                        return sort;
                    }

                    public void setSort(Integer sort) {
                        this.sort = sort;
                    }

                    public Integer getSendType() {
                        return sendType;
                    }

                    public void setSendType(Integer sendType) {
                        this.sendType = sendType;
                    }

                    public String getBatchIds() {
                        return batchIds;
                    }

                    public void setBatchIds(String batchIds) {
                        this.batchIds = batchIds;
                    }

                    public String getChildAdmin() {
                        return childAdmin;
                    }

                    public void setChildAdmin(String childAdmin) {
                        this.childAdmin = childAdmin;
                    }

                    public String getClassIds() {
                        return classIds;
                    }

                    public void setClassIds(String classIds) {
                        this.classIds = classIds;
                    }

                    public String getTagIds() {
                        return tagIds;
                    }

                    public void setTagIds(String tagIds) {
                        this.tagIds = tagIds;
                    }

                    public String getCollectIds() {
                        return collectIds;
                    }

                    public void setCollectIds(String collectIds) {
                        this.collectIds = collectIds;
                    }

                    public String getSuitableGrade() {
                        return suitableGrade;
                    }

                    public void setSuitableGrade(String suitableGrade) {
                        this.suitableGrade = suitableGrade;
                    }

                    public String getPlatterId() {
                        return platterId;
                    }

                    public void setPlatterId(String platterId) {
                        this.platterId = platterId;
                    }

                    public Integer getAdminId() {
                        return adminId;
                    }

                    public void setAdminId(Integer adminId) {
                        this.adminId = adminId;
                    }

                    public Integer getUploadType() {
                        return uploadType;
                    }

                    public void setUploadType(Integer uploadType) {
                        this.uploadType = uploadType;
                    }

                    public Integer getRelationId() {
                        return relationId;
                    }

                    public void setRelationId(Integer relationId) {
                        this.relationId = relationId;
                    }

                    public Integer getReadSnNum() {
                        return readSnNum;
                    }

                    public void setReadSnNum(Integer readSnNum) {
                        this.readSnNum = readSnNum;
                    }

                    public Integer getDel() {
                        return del;
                    }

                    public void setDel(Integer del) {
                        this.del = del;
                    }

                    public Integer getCreateTime() {
                        return createTime;
                    }

                    public void setCreateTime(Integer createTime) {
                        this.createTime = createTime;
                    }

                    public Integer getUpdateTime() {
                        return updateTime;
                    }

                    public void setUpdateTime(Integer updateTime) {
                        this.updateTime = updateTime;
                    }
                }
            }

            public static class ContentDTO {
                @SerializedName("content_id")
                private Integer contentId;
                @SerializedName("content_name")
                private String contentName;
                @SerializedName("content_type")
                private Integer contentType;
                @SerializedName("content_size")
                private Integer contentSize;
                @SerializedName("content_explain")
                private String contentExplain;
                @SerializedName("content_url")
                private String contentUrl;
                @SerializedName("sort")
                private Integer sort;
                @SerializedName("send_type")
                private Integer sendType;
                @SerializedName("batch_ids")
                private String batchIds;
                @SerializedName("child_admin")
                private String childAdmin;
                @SerializedName("class_ids")
                private String classIds;
                @SerializedName("tag_ids")
                private String tagIds;
                @SerializedName("collect_ids")
                private String collectIds;
                @SerializedName("suitable_grade")
                private String suitableGrade;
                @SerializedName("platter_id")
                private String platterId;
                @SerializedName("admin_id")
                private Integer adminId;
                @SerializedName("upload_type")
                private Integer uploadType;
                @SerializedName("relation_id")
                private Integer relationId;
                @SerializedName("read_sn_num")
                private Integer readSnNum;
                @SerializedName("del")
                private Integer del;
                @SerializedName("create_time")
                private Integer createTime;
                @SerializedName("update_time")
                private Integer updateTime;

                public Integer getContentId() {
                    return contentId;
                }

                public void setContentId(Integer contentId) {
                    this.contentId = contentId;
                }

                public String getContentName() {
                    return contentName;
                }

                public void setContentName(String contentName) {
                    this.contentName = contentName;
                }

                public Integer getContentType() {
                    return contentType;
                }

                public void setContentType(Integer contentType) {
                    this.contentType = contentType;
                }

                public Integer getContentSize() {
                    return contentSize;
                }

                public void setContentSize(Integer contentSize) {
                    this.contentSize = contentSize;
                }

                public String getContentExplain() {
                    return contentExplain;
                }

                public void setContentExplain(String contentExplain) {
                    this.contentExplain = contentExplain;
                }

                public String getContentUrl() {
                    return contentUrl;
                }

                public void setContentUrl(String contentUrl) {
                    this.contentUrl = contentUrl;
                }

                public Integer getSort() {
                    return sort;
                }

                public void setSort(Integer sort) {
                    this.sort = sort;
                }

                public Integer getSendType() {
                    return sendType;
                }

                public void setSendType(Integer sendType) {
                    this.sendType = sendType;
                }

                public String getBatchIds() {
                    return batchIds;
                }

                public void setBatchIds(String batchIds) {
                    this.batchIds = batchIds;
                }

                public String getChildAdmin() {
                    return childAdmin;
                }

                public void setChildAdmin(String childAdmin) {
                    this.childAdmin = childAdmin;
                }

                public String getClassIds() {
                    return classIds;
                }

                public void setClassIds(String classIds) {
                    this.classIds = classIds;
                }

                public String getTagIds() {
                    return tagIds;
                }

                public void setTagIds(String tagIds) {
                    this.tagIds = tagIds;
                }

                public String getCollectIds() {
                    return collectIds;
                }

                public void setCollectIds(String collectIds) {
                    this.collectIds = collectIds;
                }

                public String getSuitableGrade() {
                    return suitableGrade;
                }

                public void setSuitableGrade(String suitableGrade) {
                    this.suitableGrade = suitableGrade;
                }

                public String getPlatterId() {
                    return platterId;
                }

                public void setPlatterId(String platterId) {
                    this.platterId = platterId;
                }

                public Integer getAdminId() {
                    return adminId;
                }

                public void setAdminId(Integer adminId) {
                    this.adminId = adminId;
                }

                public Integer getUploadType() {
                    return uploadType;
                }

                public void setUploadType(Integer uploadType) {
                    this.uploadType = uploadType;
                }

                public Integer getRelationId() {
                    return relationId;
                }

                public void setRelationId(Integer relationId) {
                    this.relationId = relationId;
                }

                public Integer getReadSnNum() {
                    return readSnNum;
                }

                public void setReadSnNum(Integer readSnNum) {
                    this.readSnNum = readSnNum;
                }

                public Integer getDel() {
                    return del;
                }

                public void setDel(Integer del) {
                    this.del = del;
                }

                public Integer getCreateTime() {
                    return createTime;
                }

                public void setCreateTime(Integer createTime) {
                    this.createTime = createTime;
                }

                public Integer getUpdateTime() {
                    return updateTime;
                }

                public void setUpdateTime(Integer updateTime) {
                    this.updateTime = updateTime;
                }
            }
        }

        public static class TagDTO {
            @SerializedName("id")
            private Integer id;
            @SerializedName("name")
            private String name;
            @SerializedName("type")
            private String type;
            @SerializedName("send_type")
            private Integer sendType;
            @SerializedName("icon")
            private String icon;
            @SerializedName("batch_ids")
            private String batchIds;
            @SerializedName("child_admin")
            private String childAdmin;
            @SerializedName("admin_id")
            private Integer adminId;
            @SerializedName("create_time")
            private Integer createTime;
            @SerializedName("update_time")
            private Integer updateTime;
            @SerializedName("del")
            private Integer del;

            public Integer getId() {
                return id;
            }

            public void setId(Integer id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public Integer getSendType() {
                return sendType;
            }

            public void setSendType(Integer sendType) {
                this.sendType = sendType;
            }

            public String getIcon() {
                return icon;
            }

            public void setIcon(String icon) {
                this.icon = icon;
            }

            public String getBatchIds() {
                return batchIds;
            }

            public void setBatchIds(String batchIds) {
                this.batchIds = batchIds;
            }

            public String getChildAdmin() {
                return childAdmin;
            }

            public void setChildAdmin(String childAdmin) {
                this.childAdmin = childAdmin;
            }

            public Integer getAdminId() {
                return adminId;
            }

            public void setAdminId(Integer adminId) {
                this.adminId = adminId;
            }

            public Integer getCreateTime() {
                return createTime;
            }

            public void setCreateTime(Integer createTime) {
                this.createTime = createTime;
            }

            public Integer getUpdateTime() {
                return updateTime;
            }

            public void setUpdateTime(Integer updateTime) {
                this.updateTime = updateTime;
            }

            public Integer getDel() {
                return del;
            }

            public void setDel(Integer del) {
                this.del = del;
            }
        }

        public static class TotalContentDTO {
            @SerializedName("content_id")
            private Integer contentId;
            @SerializedName("content_name")
            private String contentName;
            @SerializedName("content_type")
            private Integer contentType;
            @SerializedName("content_size")
            private Integer contentSize;
            @SerializedName("content_explain")
            private String contentExplain;
            @SerializedName("content_url")
            private String contentUrl;
            @SerializedName("sort")
            private Integer sort;
            @SerializedName("send_type")
            private Integer sendType;
            @SerializedName("batch_ids")
            private String batchIds;
            @SerializedName("child_admin")
            private String childAdmin;
            @SerializedName("class_ids")
            private String classIds;
            @SerializedName("tag_ids")
            private String tagIds;
            @SerializedName("collect_ids")
            private String collectIds;
            @SerializedName("suitable_grade")
            private String suitableGrade;
            @SerializedName("platter_id")
            private String platterId;
            @SerializedName("admin_id")
            private Integer adminId;
            @SerializedName("upload_type")
            private Integer uploadType;
            @SerializedName("relation_id")
            private Integer relationId;
            @SerializedName("read_sn_num")
            private Integer readSnNum;
            @SerializedName("del")
            private Integer del;
            @SerializedName("create_time")
            private Integer createTime;
            @SerializedName("update_time")
            private Integer updateTime;

            public Integer getContentId() {
                return contentId;
            }

            public void setContentId(Integer contentId) {
                this.contentId = contentId;
            }

            public String getContentName() {
                return contentName;
            }

            public void setContentName(String contentName) {
                this.contentName = contentName;
            }

            public Integer getContentType() {
                return contentType;
            }

            public void setContentType(Integer contentType) {
                this.contentType = contentType;
            }

            public Integer getContentSize() {
                return contentSize;
            }

            public void setContentSize(Integer contentSize) {
                this.contentSize = contentSize;
            }

            public String getContentExplain() {
                return contentExplain;
            }

            public void setContentExplain(String contentExplain) {
                this.contentExplain = contentExplain;
            }

            public String getContentUrl() {
                return contentUrl;
            }

            public void setContentUrl(String contentUrl) {
                this.contentUrl = contentUrl;
            }

            public Integer getSort() {
                return sort;
            }

            public void setSort(Integer sort) {
                this.sort = sort;
            }

            public Integer getSendType() {
                return sendType;
            }

            public void setSendType(Integer sendType) {
                this.sendType = sendType;
            }

            public String getBatchIds() {
                return batchIds;
            }

            public void setBatchIds(String batchIds) {
                this.batchIds = batchIds;
            }

            public String getChildAdmin() {
                return childAdmin;
            }

            public void setChildAdmin(String childAdmin) {
                this.childAdmin = childAdmin;
            }

            public String getClassIds() {
                return classIds;
            }

            public void setClassIds(String classIds) {
                this.classIds = classIds;
            }

            public String getTagIds() {
                return tagIds;
            }

            public void setTagIds(String tagIds) {
                this.tagIds = tagIds;
            }

            public String getCollectIds() {
                return collectIds;
            }

            public void setCollectIds(String collectIds) {
                this.collectIds = collectIds;
            }

            public String getSuitableGrade() {
                return suitableGrade;
            }

            public void setSuitableGrade(String suitableGrade) {
                this.suitableGrade = suitableGrade;
            }

            public String getPlatterId() {
                return platterId;
            }

            public void setPlatterId(String platterId) {
                this.platterId = platterId;
            }

            public Integer getAdminId() {
                return adminId;
            }

            public void setAdminId(Integer adminId) {
                this.adminId = adminId;
            }

            public Integer getUploadType() {
                return uploadType;
            }

            public void setUploadType(Integer uploadType) {
                this.uploadType = uploadType;
            }

            public Integer getRelationId() {
                return relationId;
            }

            public void setRelationId(Integer relationId) {
                this.relationId = relationId;
            }

            public Integer getReadSnNum() {
                return readSnNum;
            }

            public void setReadSnNum(Integer readSnNum) {
                this.readSnNum = readSnNum;
            }

            public Integer getDel() {
                return del;
            }

            public void setDel(Integer del) {
                this.del = del;
            }

            public Integer getCreateTime() {
                return createTime;
            }

            public void setCreateTime(Integer createTime) {
                this.createTime = createTime;
            }

            public Integer getUpdateTime() {
                return updateTime;
            }

            public void setUpdateTime(Integer updateTime) {
                this.updateTime = updateTime;
            }
        }
    }
}
